package com.ych.modules.cms.authorInfc.advertise.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/1/4
 * Time: 15:30
 * Description:
 */
@Data
@ApiModel(value = "AddAdvertiseEntity", description = "添加广告实体")
public class AddAdvertiseEntity implements Serializable {
    @ApiModelProperty(value = "主键(修改时使用)", dataType = "String", notes = "主键(修改时使用)")
    private String adId;

    @ApiModelProperty(value = "类型", dataType = "String", notes = "类型")
    private String type;

    @ApiModelProperty(value = "值", dataType = "String", notes = "值")
    private String value;

    @ApiModelProperty(value = "广告图片URL", dataType = "String", notes = "广告图片URL")
    private String adImgUrl;

    @ApiModelProperty(value = "广告图片名称", dataType = "String", notes = "广告图片名称")
    private String adImgName;

    @ApiModelProperty(value = "外部链接URL", dataType = "String", notes = "外部链接URL")
    private String linksUrl;

    @ApiModelProperty(value = "权重", dataType = "Integer", notes = "权重")
    private Integer level;

    @ApiModelProperty(value = "上架时间", dataType = "Date", notes = "上架时间")
    private Date publishTime;

    @ApiModelProperty(value = "下架时间", dataType = "Date", notes = "下架时间")
    private Date recallTime;

    @ApiModelProperty(value = "链接类型: 0:无,1外部跳转链接,2视频链接,3内部链接,4商品,5公告", dataType = "String", notes = "链接类型: 0:无,1外部跳转链接,2视频链接,3内部链接,4商品,5公告")
    private String urlType;

    @ApiModelProperty(value = "视频链接URL", dataType = "String", notes = "视频链接URL")
    private String videoUrl;
}
